
.container {
  background-color: var(--card-bg);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.header {
  padding: 1rem 1.5rem;
  background-color: var(--card-header-bg);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-color);
}

.content {
  padding: 1.5rem;
}

.loading {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.error {
  color: var(--error-color);
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.loadingSpinner {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid var(--primary-color-alpha);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Dark mode specific styles */
[data-theme='dark'] {
  --card-bg: #2d2d2d;
  --card-header-bg: #363636;
  --error-color: #ef4444;
}

/* Light mode specific styles */
[data-theme='light'] {
  --card-bg: #ffffff;
  --card-header-bg: #f8f8f8;
  --error-color: #dc2626;
}